package design.graduation.novelsystem.model.domian;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;

/**
 * @author: 洪少尉
 * @Date: 2020/4/18 19:01
 * @Description:
 */
@Data
@Component
@ConfigurationProperties(prefix="aliyun")
public class CentOSEntity {
	/**
	 * 主机（IP）
	 */
	private String host;
	/**
	 * 连接端口
	 */
	private  int port;
	/**
	 * 编码
	 */
	private Charset charset = StandardCharsets.UTF_8;
	/**
	 * 用户
	 */
	private String user;
	/**
	 * 密码
	 */
	private String password;
}
